# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=font-noto-emoji
pkgver=2.042
pkgrel=0
pkgdesc="Google Noto emoji fonts"
url="https://github.com/googlefonts/noto-emoji"
arch="noarch"
license="OFL-1.1"
source="https://github.com/googlefonts/noto-emoji/archive/v$pkgver/font-noto-emoji-$pkgver.tar.gz"
options="!check" # No code to test
builddir="$srcdir/noto-emoji-$pkgver"

# Prior to commit 213931dec8bb08b1d4e500bf06f3892d711e9499 we build
# font-noto-emoji from source. However, some makedependencies were not
# available on all architectures and building everything from source
# blocks some builders for some time, hence using the pre-built now.

package() {
	install -Dm644 -t "$pkgdir"/usr/share/fonts/noto \
		fonts/NotoColorEmoji.ttf
}

sha512sums="
50a5fab34788e091269ae3085bb69f8a45c44a4cd31f67cf6b3143f8f0a73186e13a6607770999ab27a1a8edaeeb308092e994d50c0a009d4c375eaa22e0b160  font-noto-emoji-2.042.tar.gz
"
